package work20241204.a_final;

/**
 * @author zdl
 * @date 2024/12/4
 */

public class Father {
    int age;
    final int num = 1;

    public final void test(){
        System.out.println("hhh");
    }
}
//被final修饰的类不能被继承
//public final class Father {
//
//}